@import "../common.scss";
body {
	background-color: #fff;
}

p {
	margin: 0;
}



.app-content {
	position: relative;
	.header {
		padding: 0 ws(15);
		padding-top: ws(40);
		display: flex;
		color: #fff;
		align-items: center;
		justify-content: space-between;
		.title {
			font-size: ws(50/2);
		}
		.setting {
			font-size: ws(24/2);
			.mui-icon {
				font-size: ws(30/2);
			}
		}
	}
	
	.header-bg {
		position: relative;
		&::after{
			content: '';
			position: absolute;
			width: 100%;
			height: ws(298/2);
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			z-index: -1;
			background-image: linear-gradient(-10deg, darken($main-color, 10%) 0%, lighten($main-color, 10%) 100%);
		}
	}
	
	.module-list {
		margin: 0 ws(10);
		margin-top: ws(15);
		height: ws(100);
		background-color: #fff;
		border-radius: ws(7);
		display: flex;
		align-items: center;
		box-shadow: 0 ws(3/2) ws(30/2) 0 rgba($main-color, 0.3);
		>div {
			width: 25%;
		}
		.list-item {
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-top: ws(10);
			.icon {
				width: ws(30);
				height: ws(30);
				margin-bottom: ws(10);
				>img {
					width: 100%;
					height: 100%;
				}
			}
			.title {
				font-size: ws(26/2);
				color: $main-color;
			}
		}
	}
	.annunciate {
		margin-top: ws(46/2);
		padding: 0 ws(15);
		display: flex;
		height: ws(70/2);
		align-items: center;
		line-height: ws(14);
		>div {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			height: 100%;
		}
		.title {
			position: relative;
			font-size: ws(26/2);
			color: #414141;
			font-weight: bold;
		}
		.line {
			margin: 0 ws(10);
			width: ws(1);
			height: ws(34);
			background-color: #404040;
		}
		.details {
			flex: 1;
			color: #7f7f7f;
			font-size: ws(26/2);
			>span {
				width: ws(280);
				@include one-line;
			}
		}
	}
	.swiper {
		margin: ws(15) 0;
		.swiper-wrapper {
			height: ws(250/2);
			.swiper-slide {
				padding: 0 ws(15);
				.swiper-img {
					width: 100%;
					height: ws(250/2);
					object-fit: cover;
					opacity: 0.8;
					border-radius: ws(5);
				}
			}
		}
		.swiper-pagination-bullet-active {
			background-color: #FFFFFF;
		}
	}
	.community-content {
		margin-top: ws(15);
		padding: 0 ws(15);
		.community-title {
			font-size: ws(12);
			padding: 0 ws(6);
			border-radius: ws(30);
			display: inline-block;
			color: #fff;
			background-color: $main-color;
			margin-bottom: ws(10);
		}
		.title-warpper {
			display: flex;
			justify-content: space-between;
			align-items: center;
			.title {
				line-height: ws(20);
				font-size: ws(20);
				color: $main-color;
			}
			.more {
				font-size: ws(12);
				color: #7f7f7f;
				.mui-icon {
					margin-right: ws(-6);
					color: #7f7f7f;
					font-size: ws(14);
				}
			}
		}
	}
}

.second-hand {
	.list {
		.item {
			border-radius: ws(10);
			box-shadow: $shaow-main;
			overflow: hidden;
			padding: ws(15);
			background-color: #fff;
			.item-title {
				margin: auto;
				margin-bottom: ws(17/2);
				width: ws(435/2);
				text-align: center;
				@include one-line
			}
			.item-price {
				text-align: center;
				margin-bottom: ws(30/2);
				font-size: ws(20);
				color: #df204d;
				line-height: ws(20);
			}
			.item-image {
				position: relative;
				z-index: 1;
				width: 100%;
				display: flex;
				justify-content: space-between;
				height: ws(368/2);
				overflow: hidden;
				img {
					object-fit: cover;
				}
				.big-image {
					width: ws(420/2);
					height: ws(368/2);
					margin-right: ws(1);
				}
				.little-image {
					flex: 1;
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					>img {
						width: 100%;
						height: ws(183/2);
					}
				}
			}
			.user-desc {
				position: relative;
				z-index: 2;
				margin-top: ws(-15);
				display: flex;
				align-items: flex-end;
				.user-img {
					margin-left: ws(15);
					margin-right: ws(10);
					width: ws(86/2);
					height: ws(86/2);
					border-radius: 50%;
					box-shadow: 0 0 0 ws(2) #fff;
				}
				.user {
					flex: 1;
					display: flex;
					justify-content: space-between;
					font-size: ws(26/2);
				}
			}
		}
	}
}

.moments {
	.list {
		.item {
			padding: ws(15);
			margin-bottom: ws(15);
			display: flex;
			align-items: flex-start;
			border-radius: ws(10);
			box-shadow: $shaow-main;
			background-color: #fff;
			.item-portrait {
				width: ws(68/2);
				height: ws(68/2);
				border-radius: 50%;
				overflow: hidden;
				>img {
					width: 100%;
					height: 100%;
				}
			}
			.item-desc {
				flex: 1;
				margin-left: ws(15);
				.desc-header {
					display: flex;
					justify-content: space-between;
					align-items: flex-end;
					color: #7f7f7f;
					.user {
						display: flex;
						.user-name {
							font-size: ws(15);
							color: #414141;
							font-weight: bold;
							margin-right: ws(3);
						}
						.user-tenement {
							font-size: ws(12);
						}
					}
					.desc-time {
						font-size: ws(12);
					}
				}
				.desc-text {
					font-size: ws(26/2);
					color: #191919;
					line-height: ws(38/2);
				}
				.desc-image {
					display: flex;
					flex-wrap: wrap;
					justify-content: space-between;
					margin-bottom: ws(5);
					>img {
						object-fit: cover;
						margin-bottom: ws(5);
					}
					.image-1 {
						width: 100%;
						height: ws(180);
					}
					.image-2 {
						width: ws(130);
						height: ws(160/2);
					}
					.image-3 {
						width: ws(85);
						height: ws(60);
					}
				}


				.operation-warpper {
					display: flex;
					justify-content: flex-end;
					font-size: ws(15);
					color: #7f7f7f;
					>div {
						display: flex;
						align-items: center;
						img {
							width: ws(17);
							margin-right: ws(3);
							margin-bottom: ws(1);
						}
					}

					.like {
						margin-left: ws(30);
						img {
							width: ws(19);
							margin-bottom: ws(3);
						}
					}
				}

				.comment-content {
					background-color: #F7F7F7;
					padding: ws(10);
					margin-top: ws(5);
					.comment-item {
						font-size: ws(26/2);
						line-height: ws(38/2);
						.item-name {
							color: #414141;
						}
						.item-text {
							color: #7f7f7f;
						}
					}
					.more {
						margin-top: ws(5);
						font-size: ws(26/2);
						color: #b1b1b1;
						display: flex;
						align-items: center;
						.mui-icon {
							margin-top: ws(1);
							font-size: ws(18);
							color: #b1b1b1;
						}
					}
				}
			}
		}
	}
}


.activity {
	.list {
		.item {
			border-radius: ws(5);
			box-shadow: $shaow-main;
			overflow: hidden;
			position: relative;
			background-color: #fff;
			padding: ws(15);
			.icon-sate {
				position: absolute;
				z-index: 5;
				top: 0;
				right: ws(10);
				font-size: ws(12);
				color: #fff;
				padding: ws(5) ws(5);
				border-radius: 0 0 ws(5) ws(5);
				background-color: #999;
			}
			.item-image {
				width: ws(200);
				height: ws(200);
				overflow: hidden;
				background-color: #eee;
				.item-br {
					width: 100%;
					height: 100%;
					object-fit: cover;
				}
			}
			.item-title {
				font-size: ws(16);
				font-weight: bold;
				color: #333;
				width: ws(300);
				margin-bottom: ws(10);
				@include one-line;
			}

			.item-desc {
				margin-top: ws(15);
				background-color: #fff;
				display: flex;
				flex-direction: column;
				justify-content: center;
				.item-time {
					line-height: ws(12);
					font-size: ws(14);
					color: #7F7F7F;
					display: flex;
					align-items: center;
					img {
						width: ws(10);
						margin-right: ws(4);
						margin-bottom: ws(2);
					}
				}
			}
		}
	}
}


.pop-up{
   width: ws(200);
   height: ws(326.797386);
   position: fixed;
   background-image: url(../../images/tishi.png);
   background-size: 100% 100%;
   top: ws(193);
   left: 0;
   right: 0;
   margin: auto;
   z-index: 99;
}